package com.teacher.pojo.dto.jobtask;

import com.teacher.pojo.dto.file.FileAddDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zfm
 * @date 2021/8/11 16:09
 */
@Data
public class JobTaskAddDto {
    @ApiModelProperty(value = "附件")
    private List<FileAddDto> files;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "10->一类优秀 20->一类合格 30->二类优秀 40->二类合格 50->三类优秀 60->三类合格")
    @NotNull(message = "类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "职务名称")
    @NotBlank(message = "职务名称不能为空")
    private String jobName;
}
